package com.caigou.bean.vo;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class KeyValueVO {

    private Object label;

    private Object value;

    private String domain;

    private List<KeyValueVO> children = new ArrayList<>();

    public KeyValueVO() {
    }

    public KeyValueVO(Object label, Object value) {
        this.label = label;
        this.value = value;
    }

    public KeyValueVO(Object label, Object value, String domain) {
        this.label = label;
        this.value = value;
        this.domain = domain;
    }

    @Override
    public String toString() {
        return "KeyValueVO{" +
                "label=" + label +
                ", value='" + value + '\'' +
                '}';
    }



}
